package com.yxhl.zoume.core.car.view.common;

import com.yxhl.protobuf.MpvModel;
import com.yxhl.zoume.common.ui.view.BaseView;

import java.util.List;

/**
 * Created by sugarya on 16/8/22.
 * 车型查询 回调
 */
public interface VehicleShowView extends BaseView {

    /**
     * 查询成功时,返回待选择车型
     *
     * @param vehicleModelsList
     */
    void renderVehicleModelDataOnSuccess(List<MpvModel> vehicleModelsList);

    /**
     * 查询失败事,返回
     *
     * @param msg
     */
    void renderVehicleModelDataOnFailure(String msg);


    /**
     * 错误时  回调
     *
     * @param errorMsg
     */
    void renderVehicleModeDataOnError(String errorMsg);

}
